package com.hm.ibsm.manage.service;

import com.hm.common.su.bean.PageInfo;
import com.hm.common.su.bean.PageInfo.PageParam;
import com.hm.ibsm.manage.uti.ManageShareDef;
import com.hm.ibsm.manage.vo.role.RoleVo;

/**
 * @author shishun.wang
 * @date 2017年2月10日 上午1:47:34
 * @version 1.0
 * @describe
 */
public interface RoleService {
	
	public String HTTP_INVOKER_EXPORT_CONTEXT = "/HttpInvokerEndpoing/manage/RoleService/" + ManageShareDef.HttpInvokerEndpoing.VERSION;

	public void addRole(RoleVo role);

	public void updateRole(String roleId, RoleVo role);

	public void deleteRole(String roleId);

	public RoleVo getRoleById(String roleId);

	public PageInfo<RoleVo> query(PageParam page, String roleName);
}
